Skip to main content

Installation

NPM

You can install the AI-ON UI library using npm. Open your terminal and run the following command:

npm install @ai-on/ui

Yarn

If you prefer using Yarn, you can install the AI-ON UI library by running the following command:

yarn add @ai-on/ui

CDN

Alternatively, you can include use Dynamic Imports and import it directly from the CDN:

If you are working directly in HTML

<script type="module">
import renderer from "https://cdn.jsdelivr.net/npm/@ai-on/ui"
// ... rest of your code ...
</script>

If you are working with a bundler like Webpack, Vite, Rollup, etc.

import renderer from "https://cdn.jsdelivr.net/npm/@ai-on/ui"
// ... rest of your code ...

Once you have the library installed, you can import it into your project and start using it.